\hypertarget{classduye_1_1_process}{\section{duye\-:\-:Process Class Reference}
\label{classduye_1_1_process}\index{duye\-::\-Process@{duye\-::\-Process}}
}


{\ttfamily \#include $<$duye\-\_\-process.\-h$>$}

Inheritance diagram for duye\-:\-:Process\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classduye_1_1_process}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classduye_1_1_process_a6a73d42a4187b8f1d29c83ccf8a309c5}{typedef std\-::list$<$ \hyperlink{classduye_1_1_process_if}{Process\-If} $\ast$ $>$ {\bfseries Process\-If\-List}}\label{classduye_1_1_process_a6a73d42a4187b8f1d29c83ccf8a309c5}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classduye_1_1_process_a283844839ab2a48562f949b2e6046b48}{add\-Observer} (\hyperlink{classduye_1_1_process_if}{Process\-If} $\ast$observer)
\item 
void \hyperlink{classduye_1_1_process_a65b4e98153379d0c2c3983438dbe2744}{remove\-Observer} (\hyperlink{classduye_1_1_process_if}{Process\-If} $\ast$observer)
\begin{DoxyCompactList}\small\item\em remove process \end{DoxyCompactList}\item 
void \hyperlink{classduye_1_1_process_a3eeb70d5aeec513121f42335a15d1c55}{add\-Signal} (const \hyperlink{classduye_1_1_sys_process_aea3be31a46171e089d718e43435b9147}{Sys\-Process\-::\-Signal\-Type} sig=Sys\-Process\-::\-D\-\_\-\-S\-I\-G\-\_\-\-A\-L\-L)
\begin{DoxyCompactList}\small\item\em add signal \end{DoxyCompactList}\item 
void \hyperlink{classduye_1_1_process_a6c2d5b81ab65c698c71b4c578cc413ad}{set\-Limit\-File} (const uint32 num)
\begin{DoxyCompactList}\small\item\em setting the number of one process can open files \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_process_a9d5dc9eee2e08db351046d651d6f1780}{uint32 {\bfseries limit\-File} () const }\label{classduye_1_1_process_a9d5dc9eee2e08db351046d651d6f1780}

\item 
bool \hyperlink{classduye_1_1_process_a27973e91974c377df39b3866770612f3}{wait} (const uint32 timeout=10)
\begin{DoxyCompactList}\small\item\em wait process exit \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_process_a7069bafce17b2121d8c8e0fd3d6f5edf}{void \hyperlink{classduye_1_1_process_a7069bafce17b2121d8c8e0fd3d6f5edf}{wakeup} ()}\label{classduye_1_1_process_a7069bafce17b2121d8c8e0fd3d6f5edf}

\begin{DoxyCompactList}\small\item\em wakeup all current thread \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
process 

\subsection{Member Function Documentation}
\hypertarget{classduye_1_1_process_a283844839ab2a48562f949b2e6046b48}{\index{duye\-::\-Process@{duye\-::\-Process}!add\-Observer@{add\-Observer}}
\index{add\-Observer@{add\-Observer}!duye::Process@{duye\-::\-Process}}
\subsubsection[{add\-Observer}]{\setlength{\rightskip}{0pt plus 5cm}void duye\-::\-Process\-::add\-Observer (
\begin{DoxyParamCaption}
\item[{{\bf Process\-If} $\ast$}]{observer}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_process_a283844839ab2a48562f949b2e6046b48}
addition process 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em observer} & \-: process observer \\
\hline
\end{DoxyParams}
\hypertarget{classduye_1_1_process_a3eeb70d5aeec513121f42335a15d1c55}{\index{duye\-::\-Process@{duye\-::\-Process}!add\-Signal@{add\-Signal}}
\index{add\-Signal@{add\-Signal}!duye::Process@{duye\-::\-Process}}
\subsubsection[{add\-Signal}]{\setlength{\rightskip}{0pt plus 5cm}void duye\-::\-Process\-::add\-Signal (
\begin{DoxyParamCaption}
\item[{const {\bf Sys\-Process\-::\-Signal\-Type}}]{sig = {\ttfamily SysProcess\-:\-:D\-\_\-SIG\-\_\-ALL}}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_process_a3eeb70d5aeec513121f42335a15d1c55}


add signal 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em sig} & \-: signal value, default is all signals \\
\hline
\end{DoxyParams}
\hypertarget{classduye_1_1_process_a65b4e98153379d0c2c3983438dbe2744}{\index{duye\-::\-Process@{duye\-::\-Process}!remove\-Observer@{remove\-Observer}}
\index{remove\-Observer@{remove\-Observer}!duye::Process@{duye\-::\-Process}}
\subsubsection[{remove\-Observer}]{\setlength{\rightskip}{0pt plus 5cm}void duye\-::\-Process\-::remove\-Observer (
\begin{DoxyParamCaption}
\item[{{\bf Process\-If} $\ast$}]{observer}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_process_a65b4e98153379d0c2c3983438dbe2744}


remove process 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em observer} & \-: process observer \\
\hline
\end{DoxyParams}
\hypertarget{classduye_1_1_process_a6c2d5b81ab65c698c71b4c578cc413ad}{\index{duye\-::\-Process@{duye\-::\-Process}!set\-Limit\-File@{set\-Limit\-File}}
\index{set\-Limit\-File@{set\-Limit\-File}!duye::Process@{duye\-::\-Process}}
\subsubsection[{set\-Limit\-File}]{\setlength{\rightskip}{0pt plus 5cm}void duye\-::\-Process\-::set\-Limit\-File (
\begin{DoxyParamCaption}
\item[{const uint32}]{num}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_process_a6c2d5b81ab65c698c71b4c578cc413ad}


setting the number of one process can open files 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em num} & \-: can open file number \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true/false 
\end{DoxyReturn}
\hypertarget{classduye_1_1_process_a27973e91974c377df39b3866770612f3}{\index{duye\-::\-Process@{duye\-::\-Process}!wait@{wait}}
\index{wait@{wait}!duye::Process@{duye\-::\-Process}}
\subsubsection[{wait}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Process\-::wait (
\begin{DoxyParamCaption}
\item[{const uint32}]{timeout = {\ttfamily 10}}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_process_a27973e91974c377df39b3866770612f3}


wait process exit 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em timeout} & \-: wait time, default is 10 seconds \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
On process exit, return true, else if return false 
\end{DoxyReturn}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Z\-:/duye/src/duyebase/public/\hyperlink{duye__process_8h}{duye\-\_\-process.\-h}\end{DoxyCompactItemize}
